package com.mdtx.business.dao;

import java.util.List;
import com.mdtx.business.entity.po.Trip;
import org.apache.ibatis.annotations.Mapper;

/**
*
* @ClassName: Trip
* @Description: 测试
* @author 猫啊
* @date 2017-09-16 11:57
*
*/
@Mapper
public interface TripMapper {


    public List<Trip> findAll(Trip params) throws Exception;

    public Trip getTrip(Long id) throws Exception;

    public void saveTrip(Trip params) throws Exception;

    public void saveBatchTrip(List<Trip> params) throws Exception;

    public void updateTrip(Trip params) throws Exception;

    public void deleteTrip(Long id)  throws Exception;

    public void deleteBatchTrip(List<Long> ids)  throws Exception;
}